package com.enjoyor.soa.traffic.api.service.dubbo.fms;

import com.enjoyor.soa.traffic.api.dto.fms.LogUserDto;
import com.enjoyor.soa.traffic.api.dto.fms.RltFileRightDto;
import com.enjoyor.soa.traffic.util.pojo.ResultPojo;

/**
 * 资料权限管理接口
 * 
 * @author Administrator
 *
 */
public interface DubboRltFileRightService {

	/**
	 * 根据资料id查询资料权限列表
	 * 
	 * @param token
	 * @param systemKey
	 * @param fileId
	 * @return
	 */
	public ResultPojo getFileRight(String token, String systemKey, LogUserDto logUser, String fileId);

	/**
	 * 根据添加某个人对某个资料的权限权限
	 * 
	 * @param token
	 * @param systemKey
	 * @param fileid
	 * @param userid
	 * @return
	 */
	public ResultPojo addFileRight(String token, String systemKey, LogUserDto logUser, RltFileRightDto rltfileright);

	/**
	 * 根据资料id修改某个人对某个资料的权限权限
	 * 
	 * @param token
	 * @param systemKey
	 * @param fileid
	 * @return
	 */
	public ResultPojo editFileRight(String token, String systemKey, LogUserDto logUser, RltFileRightDto rltfileright);

	/**
	 * 根据权限id 删除记录
	 * 
	 * @param token
	 * @param systemKey
	 * @param fileId
	 * @return
	 */
	public ResultPojo deleteFileRight(String token, String systemKey, LogUserDto logUser, String fileId);

}
